package com.yuan.fmmall.service;

import com.yuan.fmmall.entity.ShoppingCart;
import com.yuan.fmmall.vo.ResultVO;

/**
 * @author Yuan
 */

public interface ShoppingCartService {
    public ResultVO addShoppingCart(ShoppingCart cart);

    public ResultVO listShoppingCartsByUserId(int userId);//根据id查看购物车列表

    public ResultVO updateCartNum(int cartId,int cartNum);
}
